package com.hazardSoft.eStore.interfaces;

import java.util.List;

import javax.ejb.Local;

import com.hazardSoft.eStore.common.exception.SystemException;
import com.hazardSoft.eStore.entities.Product;

public @Local interface ProductsLocal {
	public Product insertProduct(Product  product) throws SystemException;
	public Product updateProduct(Product product) throws SystemException;
	public boolean removeProduct(Product product) throws SystemException;
	public List<Product> listProducts() throws SystemException;
	public Product searchProductbyId(Product product) throws SystemException; 
	public Product searchProductbyName(Product product) throws SystemException;
	public List<Product> searchProducts(Product product) throws SystemException;
}
